/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package MessageVariable;

import java.io.Serializable;

/**
 *
 * @author LEHOANGKHANH
 */
public class BookedTicket implements Serializable {
    String maChuyenTau = null;
    String gaDi = null;
    String gaDen = null;
    String ngayKhoiHanh = null;
    String gioKhoiHanh = null;
    int SLVeDaDat;
    public BookedTicket(String ma, String di, String den, String ngay, String gio, int slve){
        this.maChuyenTau = ma;
        this.gaDi = di;
        this.gaDen = den;
        this.ngayKhoiHanh = ngay;
        this.gioKhoiHanh = gio;
        this.SLVeDaDat =  slve;
    }
    public void setMaCT(String ma){
        this.maChuyenTau = ma;
    }
    public void setGaDi(String gadi){
        this.gaDi = gadi;
    }
    public void setGaDen(String gaden){
        this.gaDen = gaden;
    }
    public void setNgayKhoiHanh(String ngay){
        this.ngayKhoiHanh = ngay;
    }
    public void setGioKhoiHanh(String gio){
        this.gioKhoiHanh = gio;
    }
    public void setSLVeDaDat(int ve){
        this.SLVeDaDat = ve;
    }
    public String getMaCT(){
        return this.maChuyenTau;
    }
    public String getGaDi(){
        return this.gaDi;
    }
    public String getGaDen(){
        return this.gaDen;
    }
    public String getNgayKhoiHanh(){
        return this.ngayKhoiHanh;
    }
    public String getGioKhoiHanh(){
        return this.gioKhoiHanh;
    }
    public int getSLVeDaDat(){
        return this.SLVeDaDat;
    }
}
